package com.fnfn.sdk.api.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.fnfn.sdk.api.entity.Role;

@Repository
public interface RoleMapper {
    int deleteByPrimaryKey(Integer cRoleId);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer cRoleId);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    Role selectByRoleName(String cRoleName);

    void removeByRoleId(Integer cRoleId);

    List<Role> selectByCondition(Role role);
}